<!--  -->
<template>
  <div class="bas">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="招商项目" name="first"><Promotion /></el-tab-pane>
      <el-tab-pane label="厂房" name="second">厂房</el-tab-pane>
      <el-tab-pane label="土地" name="third">土地</el-tab-pane>
      <el-tab-pane label="楼宇" name="fourth">楼宇</el-tab-pane>
      <el-tab-pane label="仓库" name="five">仓库</el-tab-pane>
      <el-tab-pane label="企业" name="six">企业</el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import Promotion from '@/components/admin/maps/Promotion.vue'
export default {
  components: {
    Promotion,
  },
  data() {
    return {
      activeName: 'first',
    }
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event)
    },
  },
}
</script>

<style lang='scss' scoped>
::v-deep .el-tabs__active-bar {
  left: 18px;
  background: #131026;
}
::v-deep .el-tabs__item{
  padding: 0 18px;
  font-family: PingFangSC, PingFangSC-Semibold;
font-weight: 600;

}
::v-deep .el-tabs__nav{
  padding: 0 18px;
}
::v-deep.el-tabs__item.is-active {
    color: #131026;
}
</style>
